import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)
//按需引入vant
import { Button,Field,Tab,Tabs,Area,Icon,Overlay,Empty,Cell,CellGroup,Switch,Swipe, SwipeItem,Lazyload,Tabbar, TabbarItem,Toast,NavBar,Dialog,ActionSheet } from 'vant';

app.use(Button).use(Field).use(Tab).use(Tabs).use(Area).use(Icon).use(Overlay).use(Empty).use(Cell).use(CellGroup).use(Switch).use(Swipe).use(SwipeItem).use(Lazyload).use(Tabbar).use(TabbarItem).use(Toast).use(NavBar).use(Dialog).use(ActionSheet);
//引入路由
import VueRouter from './router';
app.use(VueRouter);

//引入vant图片
import { Image as VanImage } from 'vant';
app.use(VanImage);

app.mount('#app')
